]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
notificationDaemon: Remove dead code
authorJasper St. Pierre <jstpierre@mecheye.net>
Fri, 11 Oct 2013 17:17:21 +0000 (13:17 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Fri, 11 Oct 2013 17:37:09 +0000 (13:37 -0400)
js/ui/notificationDaemon.js

index 63f03af117f9e24877eb4615c6c020f3c06c3aea..22dbb6f208261739be9f293e7834e521355ce155 100644 (file)
@@ -752,22 +752,6 @@ const Source = new Lang.Class({
         return null;
     },
 
-    _setApp: function(appId) {
-        if (this.app)
-            return;
-
-        this.app = this._getApp(appId);
-        if (!this.app)
-            return;
-
-        // Only override the icon if we were previously using
-        // notification-based icons (ie, not a trayicon) or if it was unset before
-        if (!this.trayIcon) {
-            this.useNotificationIcon = false;
-            this.iconUpdated();
-        }
-    },
-
     setTitle: function(title) {
         // Do nothing if .app is set, we don't want to override the
         // app name with whatever is provided through libnotify (usually